<template>
    <div>
        <!-- 每条评论都有对应的id值，只有父组件传入id值,评论组件才会显示相关的评论数据 -->
        <com :id="$route.params.id"></com>
    </div>
</template>
<script>
import com from '../../new/comment/subcomment.vue'
export default {
    components:{
        com
    }
}
</script>
<style lang="scss" scoped>

</style>